package com.woniuxy.jwt;

import io.jsonwebtoken.JwtParser;
import io.jsonwebtoken.Jwts;

/**
 * @Author: ideaAdmin
 * Class
 * TODO:
 * Date: 2022/2/22:16:07
 * Description:
 */

public class JwtDecrypt {
    public static void main(String[] args) {
        String s = new String("eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIxIn0.vv76JWpYv6IPfAr_Oe3cAtgiHNLNXpFwsZr1XEqWLC0");
        JwtParser jwtParser = Jwts.parser().setSigningKey("testtest");
        System.out.println(jwtParser.parse(s));
    }
}
